<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
   test html
</body>
<script>
    function aa(){
        $.post('/api/test/test/test',{user:'yedong'},function(res){
            alert(1);
        })
    }
    aa();
</script>
</html>